// 1级分类的响应接口
export interface category1Item {
	id: number;
	name: string;
}

export type category1List = category1Item[]

// 2级分类响应接口
export interface category2Item {
	id: number;
	name: string;
	category1Id: number;
}

export type category2List = category2Item[]

// 3级分类响应接口
export interface category3Item {
	id: number;
	name: string;
	category2Id: number;
}

export type category3List = category3Item[]

// 当前分类的商品属性接口
export interface AttrValueItem {
	id?: number;
	valueName: string;
	attrId?: number;
}

export type AttrValueList = AttrValueItem[]

export interface AttrItem {
	id?: number | string;
	attrName: string;
	categoryId: number;
	categoryLevel: number;
	attrValueList: AttrValueList;
}

export type AttrList = AttrItem[]

